import Vue from "vue";
import App from "./App";
import less from "less";
Vue.use(less);

import Antd from "ant-design-vue";
import "ant-design-vue/dist/antd.css";
Vue.use(Antd);

Vue.config.productionTip = false;

// 全局组件自动注册
import "./components/autoRegister";

// 全局通用颜色
import "./styles/index.css";

// 全局自定义指令
import "./directive/global";

import router from "./router";

export default new Vue({
  router,
  render: (h) => h(App),
}).$mount("#app");
